package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsFinancialStatus;
import com.cs.cssupplier.mapper.CsFinancialStatusMapper;
import com.cs.cssupplier.service.CsFinancialStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_financial_status(财务状态表)】的数据库操作Service实现
* @createDate 2024-11-11 16:40:47
*/
@Service
public class CsFinancialStatusServiceImpl implements CsFinancialStatusService {
    @Resource
    private CsFinancialStatusMapper mapper;

    @Override
    public CsFinancialStatus selectFinancialStatuscId(Long cId) {
        return mapper.selectFinancialStatuscId(cId);
    }

    @Override
    public List<CsFinancialStatus> selectFinancialStatusList(CsFinancialStatus csFinancialStatus) {
        return mapper.selectFinancialStatusList(csFinancialStatus);
    }

    @Override
    public int addFinancialStatus(CsFinancialStatus csFinancialStatus) {
        return mapper.addFinancialStatus(csFinancialStatus);
    }

    @Override
    public int updateFinancialStatus(CsFinancialStatus csFinancialStatus) {
        return mapper.updateFinancialStatus(csFinancialStatus);
    }

    @Override
    public int deleteFinancialStatus(Long cId) {
        return mapper.deleteFinancialStatus(cId);
    }

    @Override
    public int deleteListFinancialStatus(Long[] cIds) {
        return mapper.deleteListFinancialStatus(cIds);
    }
}




